package com.ruoyi.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 聚合码应用配置
 * 
 * @author ruoyi
 */
@Component
@ConfigurationProperties(prefix = "aggregation")
public class AggregationConfig
{
    private App app = new App();
    
    public App getApp()
    {
        return app;
    }
    
    public void setApp(App app)
    {
        this.app = app;
    }
    
    public static class App
    {
        /** App下载地址 */
        private String downloadUrl;
        
        /** App名称 */
        private String name;
        
        /** 版本号 */
        private String version;
        
        public String getDownloadUrl()
        {
            return downloadUrl;
        }
        
        public void setDownloadUrl(String downloadUrl)
        {
            this.downloadUrl = downloadUrl;
        }
        
        public String getName()
        {
            return name;
        }
        
        public void setName(String name)
        {
            this.name = name;
        }
        
        public String getVersion()
        {
            return version;
        }
        
        public void setVersion(String version)
        {
            this.version = version;
        }
    }
}
